package net.qhzw.admin.mapper;

import net.qhzw.admin.entity.PersonnelLearninginfo;
import net.qhzw.admin.pojo.PersonnelLearninginfoVo;
import net.qhzw.admin.pojo.PersonnelLearninginfoVo2;
import net.qhzw.admin.query.PersonnelLearninginfoQuery;

import java.util.List;

public interface PersonnelLearninginfoMapper {


    int deleteByPrimaryKey(String id);

    int insert(PersonnelLearninginfo record);

    int insertSelective(PersonnelLearninginfo record);

    PersonnelLearninginfo selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(PersonnelLearninginfo record);

    int updateByPrimaryKey(PersonnelLearninginfo record);

    /***
     * 学习信息列表查询
     * @param query
     * @return
     */
    List<PersonnelLearninginfoVo> selectList(PersonnelLearninginfoQuery query);


    /***
     * 根据id学习信息
     * @param id
     * @return
     */
    PersonnelLearninginfoVo2 selectPersonnelLearninginfo(String id);
}
